.top-header {
  position: relative;

  .h-background {
    position: absolute;
    width: 100%;
    top: 70px;
    left: 0;
    z-index: 99;

    .container {
      margin: 0 auto;

      .top-header {
        position: relative;
        width: 50%;
        float: right;
        background-color: #2c3e50;
        transform: skew(20deg);
        margin-right: 30px;
        margin-top: -35px;
        z-index: 100;

        * {
          font-size: 1.2rem;
          font-weight: 800;
          color: #cccccc;
        }

        div {
          display: inline-block;
          padding: 25px 0;
          position: relative;

          ul > li {
            display: inline-block;
            margin: 0 5px;
          }
        }

        div + div {
          border-left: 1px solid #3c4c5c;
        }

        .login, .register {
          a {
            i {
              margin-right: 15px;
              color: #3498db;
            }
          }
        }
      }

      .top-header:before {
        position: absolute;
        top: 0;
        left: -20px;
        content: '';
        width: 0;
        height: 0;
        border-left: 20px solid transparent;
        border-right: 0 solid transparent;
        border-bottom: 35px solid #12272c;
      }

      .c-l-r {
        white-space: nowrap;
        background-color: #fff;
        position: relative;
        padding: 20px 10px 5px 10px;

        .content {
          position: relative;
          line-height: 50px;

          .pull-left {
            float: left;

            h1 {
              font-size: 2rem;
              margin: 13px 0 0 0;

              img {
                width: 100% !important;
                height: 4.5rem !important;
                line-height: 0;
              }
            }
          }

          .pull-right {
            float: right;

            nav {
              display: inline-block;

              li {
                display: inline-block;
                position: relative;
                margin: 0 2rem;

                a {
                  display: block;
                  position: relative;
                  font-size: 1.4rem;
                  font-weight: 800;
                  vertical-align: bottom;
                  color: #2c3e50;
                  text-transform: uppercase;
                }
              }
            }

            .hamburger {
              display: inline-block;
              margin: 0 2rem;
              cursor: pointer;
            }
          }
        }

        .content:before {
          display: table;
          content: " ";
        }

        .content:after {
          clear: both;
        }
      }

      .c-l-r:before {
        content: '';
        position: absolute;
        top: 0;
        left: -34px;
        width: 0;
        height: 0;
        border-bottom: 100px solid #fff;
        border-left: 35px solid transparent;
      }

      .c-l-r:after {
        content: '';
        position: absolute;
        top: 0;
        right: -34px;
        width: 0;
        height: 0;
        border-bottom: 100px solid #fff;
        border-right: 35px solid transparent;
      }

    }

    .container:before {
      display: table;
      content: " ";
    }

    .container:after {
      content: '';
      clear: both;
    }
  }

  .f-background {
    width: 100%;

    .container-f {
      position: relative;
      margin: -20px auto 0 auto;
      z-index: 99;

      .container-f-l-r:before {
        position: absolute;
        top: 0;
        left: -43px;
        content: '';
        width: 0;
        height: 0;
        border-left: 10px solid transparent;
        border-right: 6px solid transparent;
        border-bottom: 20px solid #1d1d1d;
      }

      .container-f-l-r:after {
        position: absolute;
        top: 0;
        right: -45px;
        content: '';
        width: 0;
        height: 0;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-bottom: 20px solid #1d1d1d;
      }

      .f-search {
        background-color: #2c3e50;
        position: relative;
        padding: 29.8px 0;
        display: flex;

        .search-content {
          flex: 1;
          z-index: 100;

          input {
            width: 87%;
            height: 30px;
            margin-left: 50px;
            padding: 4px 20px;
            border-radius: 2px;
            //border: 1px solid #f7f7f7;
            outline: none;
            border: 1px solid #808d98;
            background-color: transparent;
            color: #e0e2e4;
            letter-spacing: 1px;
          }
        }

        .search-button {
          width: 26rem;
          z-index: 100;

          button {
            width: 80%;
            height: 40px;
            font-size: 1.6rem;
            font-weight: 800;
            color: #ffff;
            border-radius: 2px;
            border: 4px solid #3498db;
            background-color: #3498db;
            cursor: pointer;

            i {
              margin-left: 5px;
            }
          }
        }
      }

      .f-search:after {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        content: '';
        background-image: url(../img/1.png);
        background-position: center;
        background-size: cover;
      }
    }

    .container-f:before {
      position: absolute;
      top: 0;
      right: -34px;
      content: '';
      width: 0;
      height: 0;
      border-top: 100px solid #324455;
      border-right: 35px solid transparent;
    }

    .container-f:after {
      position: absolute;
      top: 0;
      left: -34px;
      content: '';
      width: 0;
      height: 0;
      border-top: 100px solid #324455;
      border-left: 35px solid transparent;
    }
  }
}

@media (min-width: 1025px) {
  .container {
    width: 60%;

    .top-header {
      text-align: center;

      .login, .register {
        width: calc(55% / 2);
      }

      .interaction {
        width: 40%;
      }
    }

    .c-l-r {
      .content {
        .pull-right {
          .menu > ul > li {
            margin: 0 0.7rem !important;
          }

          .hamburger {
            display: none !important;
          }
        }
      }
    }
  }

  .container-f {
    width: 60%;

    .f-search {
      .search-content {
        flex: 7 !important;
        margin-left: 40px;

        input {
          width: 88% !important;
          margin-left: 0 !important;
        }
      }

      .search-button {
        flex: 3 !important;
        margin-right: 40px;

        button {
          width: 100% !important;
        }
      }
    }
  }
}

@media only screen and(max-width: 1024px) {
  .h-background {
    .container {
      width: 100% !important;

      .top-header {
        .login, .register {
          width: 48% !important;
          text-align: center;
          padding: 20px 0 !important;
        }

        .interaction {
          display: none !important;
        }
      }

      .c-l-r {
        padding: 5px 10px 5px 10px !important;
        opacity: 0.8;

        .content {
          line-height: 25px !important;

          .pull-right {
            .menu {
              ul > li {
                margin: 0.5rem 1rem !important;
              }

            }

            .hamburger {
              display: none !important;
            }
          }
        }
      }

      .c-l-r:before {
        content: none !important;
      }

      .c-l-r:after {
        content: none !important;
      }
    }
  }

  .container-f {
    width: 75% !important;

    .f-search {
      .search-content {
        flex: 7 !important;
        margin-left: 20px;

        input {
          width: 80% !important;
          margin-left: 0 !important;
        }
      }

      .search-button {
        flex: 3 !important;
        margin-right: 20px;

        button {
          width: 100% !important;
        }
      }
    }
  }
}

@media only screen and(max-width: 425px) {
  .h-background {
    top: 0 !important;

    .container {
      width: 100% !important;

      .top-header {
        display: none !important;

        .login, .register {
          padding: 20px 10px !important;
        }

        .interaction {
          display: none !important;
        }
      }

      .c-l-r {
        padding: 5px 10px 5px 10px !important;
        opacity: 0.8;

        .content {
          line-height: 25px !important;

          .pull-right {
            .menu {
              display: none !important;
            }

            .hamburger {
              display: block !important;
              margin: 20px !important;
              font-size: 2rem !important;
            }
          }
        }
      }

      .c-l-r:before {
        content: none !important;
      }

      .c-l-r:after {
        content: none !important;
      }
    }
  }

  .container-f {
    width: 72% !important;

    .f-search {
      .search-content {
        margin-left: 0 !important;

        input {
          padding: 4px 10px !important;
        }
      }

      .search-button {
        margin-right: 0 !important;

        button {
          width: 100% !important;
        }
      }
    }
  }

}

footer {
  .bottom-sidebar {
    background-image: url(../img/5.jpg);
    background-attachment: fixed;
    background-size: contain;
    background-repeat: repeat;
    padding: 20px 0;

    .sidebar-column {
      width: 60%;
      margin: 0 auto;

      .bottom-l, .bottom-c, .bottom-r {
        float: left;
        width: calc(100% / 3);
      }

      .bottom-l {
        position: relative;
        right: calc(100% / 3);

        h3 {
          text-transform: uppercase;
          font-size: 18px;
          font-weight: 700;
          line-height: 24px;
          letter-spacing: 2px;
          position: relative;
          padding-bottom: 25px;
          color: #fff;
        }

        h3:before {
          position: absolute;
          bottom: 0;
          left: 0;
          width: 80px;
          height: 3px;
          background-color: #295477;
          content: '';
        }

        .widget-content {
          li > i {
            margin: 6px 15px 0 0;
            font-size: 20px;
            color: #4a4a4a;
            float: left;
          }

          li > .tweets-detail {
            overflow: hidden;

            a {
              color: #949393;
              line-height: 30px;
              letter-spacing: 0.75px;
            }
          }

          li:hover {
            i {
              color: #007aff;
            }

            .tweets-detail > a {
              color: #cccccc;
            }
          }
        }
      }

      .bottom-c {
        position: relative;
        left: calc(100% / 3);
        text-align: center;

        a > img {
          width: 23rem;
          height: 11.4rem;
        }

        .c-social-links {
          li {
            margin: 0 5px;

            a {
              font-size: 1.8rem;
            }
          }
        }

        .c-social-links {
          li {
            display: inline-block;

          }
        }
      }

      .bottom-r {
        text-align: right;

        h3 {
          text-transform: uppercase;
          font-size: 18px;
          font-weight: 700;
          line-height: 24px;
          letter-spacing: 2px;
          position: relative;
          padding-bottom: 25px;
          color: #fff;
        }

        h3:before {
          position: absolute;
          bottom: 0;
          right: 0;
          width: 80px;
          height: 3px;
          background-color: #295477;
          content: '';
        }

        .widget-r-content {
          li > i {
            margin: 6px 0 0 15px;
            font-size: 20px;
            color: #4a4a4a;
            float: right;
          }

          li > .tweets-detail {
            overflow: hidden;

            a {
              color: #949393;
              line-height: 30px;
              letter-spacing: 0.75px;
            }
          }

          li:hover {
            i {
              color: #007aff;
            }

            .tweets-detail > a {
              color: #cccccc;
            }
          }
        }
      }
    }
  }

  .bottom-footer {
    background-image: url(../img/6.jpg);
    background-repeat: repeat;
    background-size: contain;
    padding: 20px 0;
    text-align: center;

    p {
      margin: 0;
      left: 0.5px;
      color: #a1b1bc;
    }
  }

}
@media only screen and(max-width: 1024px) {
  footer {
    .bottom-sidebar {
      .sidebar-column {
        width: 80% !important;
        margin: 0 auto;

        .bottom-c {
          float: none !important;
          width: 100% !important;
          left: 0 !important;
        }

        .bottom-l, .bottom-r {
          width: 50% !important;
        }

        .bottom-l {
          right: 0 !important;
        }
      }
    }
  }
}
